package score;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *
 * @author Thorsten Ludwig
 */
@Entity
public class ScoreData implements Serializable {
    
    @Id
    private Long id;
    
    @ElementCollection
    private Map<String, List <Score>> field;

    public ScoreData() {
    }

    public ScoreData(Map<String, List<Score>> field) {
        this.field = field;
    }

    
    public Map<String, List<Score>> getField() {
        return field;
    }

    public void setField(Map<String, List<Score>> field) {
        this.field = field;
    }
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
    
    
}
